from django.urls import path, re_path
from .import views

urlpatterns = [
    #获取省份信息：
    re_path(r'^areas/$', views.ProvinceAreasView.as_view()),

    #子级地区
    re_path(r'^areas/(?P<pk>[1-9]\d*)/$', views.SubAreasView.as_view()),


]